﻿@using DevWeb.Biztalk.DeploymentSettings.WebUI.Models
@model IntegrationViewModel

@{
    ViewBag.Title = "CreateIntegration";
}

<h2>CreateIntegration</h2>

@using (Html.BeginForm())
{
    @Html.ValidationSummary(true)
    @Html.AntiForgeryToken()
    <fieldset>
        <legend>IntegrationViewModel</legend>

        <div class="editor-label">
            @Html.LabelFor(model => model.Name)
        </div>
        <div class="editor-field">
           @Html.EditorFor(model => model.Name)
            @Html.ValidationMessageFor(model => model.Name)

            
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Description)
        </div>
        <div class="editor-field">
             @Html.EditorFor(model => model.Description)
           
            @Html.ValidationMessageFor(model => model.Description)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.ProductUpgradeCode)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.ProductUpgradeCode)
            @Html.ValidationMessageFor(model => model.ProductUpgradeCode)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.CreateDateTime)
        </div>
        <div class="editor-field">
            @Html.DisplayTextFor(model => model.CreateDateTime)
         
        </div>

       
        @Html.HiddenFor(model => model.Id)
        <p>
            <input type="submit" value="Create" />
        </p>
    </fieldset>
}

<div>
    @Html.ActionLink("Back to List", "Index")
</div>